package com.cheng.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
* @author: ChengJW
* @date: 2021/8/1
* @version: 1.0
* @description: A class is associated with table 'user_role'
*/

@TableName("user_role")
public class UserRoleEntity extends BaseEntity{

  private static final long serialVersionUID = 4858428794586730497L;

  /**主键*/
  @TableId(value = "ul_Id",type = IdType.INPUT)
  private String ulId;

  /**用户id*/
  @TableField("ur_Id")
  private String urId;

  /**角色id*/
  @TableField("ro_Id")
  private String roId;

  public String getUrId() {
    return urId;
  }

  public void setUrId(String urId) {
    this.urId = urId;
  }

  public String getRoId() {
    return roId;
  }

  public void setRoId(String roId) {
    this.roId = roId;
  }

  public String getUlId() {
    return ulId;
  }

  public void setUlId(String ulId) {
    this.ulId = ulId;
  }
}
